package com.atguigu.spzx.model.dto.product;

import com.atguigu.spzx.model.entity.product.ProductSku;
import lombok.Data;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author LT
 * @create 2024-03-19-16:26
 */
@Data
public class ProductSaveDTO {

    private Long id;
    /**
     * 商品名称
     */
    private String name;

    /**
     * 品牌ID
     */
    private Long brandId;
    private Date createTime;
    /**
     * 一级分类id
     */
    private Long category1Id;

    /**
     * 二级分类id
     */
    private Long category2Id;

    /**
     * 三级分类id
     */
    private Long category3Id;

    /**
     * 计量单位
     */
    private String unitName;

    /**
     * 轮播图
     */
    private String sliderUrls;

    /**
     * 商品规格json
     */
    private String specValue;
    //详情图
    private String detailsImageUrls;

    private List<ProductSku> productSkuList;

    private Map<String,Object> params = new HashMap<>();


}
